package com.ch.engine.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 默认数据源配置
 *
 * @author wangchunhui
 * @date 2024/8/15 17:51
 */
@Component
@ConfigurationProperties(prefix = "spring.datasource")
@Getter
@Setter
public class DefaultDatasourceProperties {
    private String driverClassName;
    private String url;
    private String username;
    private String password;
}
